#!/bin/bash


export GOROOT=/home/gww/linux/go1.0.2.linux-amd64/go
export GOBIN=$GOROOT/bin
export GOARCH=amd64
export GOOS=linux
export PATH=.:$PATH:$GOBIN

chmod +x $GOROOT/bin/*
chmod +x $GOROOT/pkg/tool/linux_amd64/*

#go build
go build -ldflags -s

